package com.have.blog.model.mapper;

import com.have.blog.model.models.BlogSubject;
import com.have.blog.model.models.BlogSubjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BlogSubjectMapper {
    long countByExample(BlogSubjectExample example);

    int deleteByExample(BlogSubjectExample example);

    int deleteByPrimaryKey(Integer uid);

    int insert(BlogSubject record);

    int insertSelective(BlogSubject record);

    List<BlogSubject> selectByExample(BlogSubjectExample example);

    BlogSubject selectByPrimaryKey(Integer uid);

    int updateByExampleSelective(@Param("record") BlogSubject record, @Param("example") BlogSubjectExample example);

    int updateByExample(@Param("record") BlogSubject record, @Param("example") BlogSubjectExample example);

    int updateByPrimaryKeySelective(BlogSubject record);

    int updateByPrimaryKey(BlogSubject record);
}